package com.spring.demo12.eg5;

import org.springframework.context.ApplicationEvent;

/**
 * @author vhans
 */
public class UserRegisterEvent extends ApplicationEvent {
    private String name;

    public UserRegisterEvent(Object source, String name) {
        super(source);
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
